class Restaurant:
    '''餐厅实体类'''
    def __init__(self, restaurant_name, cuisine_type):
        self.restaurant_name = restaurant_name
        self.cuisine_type = cuisine_type
        self.number_served = 0

    def describe_restaurant(self):
        print(f"餐厅名称：{self.restaurant_name}")
        print(f"主打食物类型：{self.cuisine_type}")
        print(f"就餐人数为：{self.number_served}")

    def open_restaurant(self):
        print("当前时间段餐厅正在营业")

    def set_number_served(self, served_number):
        self.number_served = served_number

    def increment_number_served(self, increment_number):
        self.number_served += increment_number


class IceCreamStand(Restaurant):
    def __init__(self, restaurant_name, cuisine_type, flavors):
        super().__init__(restaurant_name, cuisine_type)
        self.flavors = flavors

    def show_icecream(self):
        for flavor in self.flavors:
            print(flavor)


my_icecream = IceCreamStand("DQ冰激凌", "甜品", ['草莓', '香蕉', '香草', '蓝莓'])
my_icecream.show_icecream()
